package com.yunlongcoding.cahuomarketing.result;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * Created by IntelliJ IDEA.
 *
 * 商品规格结果对象
 *
 * @author 王云龙
 * @version 1.0
 * @date 8/8/2018  5:08 PM
 */
public class GoodsSpecificationResult implements Serializable {

    private static final long serialVersionUID = -3632221969548518946L;

    // 主键id
    private Long id;

    // 规格名称
    private String name;

    // 规格描述
    private String description;

    // 规格图1
    private String pic1;

    // 规格图2
    private String pic2;

    // 规格图3
    private String pic3;

    // 规格详情
    private String content;

    // 规格积分
    private BigDecimal integral;

    // 规格价格
    private BigDecimal price;

    // 规格市场价
    private BigDecimal marketPrice;

    // 所属商城，标识属于商城还是积分商城，0商城，1积分商城
    private Short belongTo;

    // 规格库存
    private Long stock;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getPic1() {
        return pic1;
    }

    public void setPic1(String pic1) {
        this.pic1 = pic1;
    }

    public String getPic2() {
        return pic2;
    }

    public void setPic2(String pic2) {
        this.pic2 = pic2;
    }

    public String getPic3() {
        return pic3;
    }

    public void setPic3(String pic3) {
        this.pic3 = pic3;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public BigDecimal getIntegral() {
        return integral;
    }

    public void setIntegral(BigDecimal integral) {
        this.integral = integral;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public BigDecimal getMarketPrice() {
        return marketPrice;
    }

    public void setMarketPrice(BigDecimal marketPrice) {
        this.marketPrice = marketPrice;
    }

    public Short getBelongTo() {
        return belongTo;
    }

    public void setBelongTo(Short belongTo) {
        this.belongTo = belongTo;
    }

    public Long getStock() {
        return stock;
    }

    public void setStock(Long stock) {
        this.stock = stock;
    }

    @Override
    public String toString() {
        return "GoodsSpecificationResult{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", description='" + description + '\'' +
                ", pic1='" + pic1 + '\'' +
                ", pic2='" + pic2 + '\'' +
                ", pic3='" + pic3 + '\'' +
                ", content='" + content + '\'' +
                ", integral=" + integral +
                ", price=" + price +
                ", marketPrice=" + marketPrice +
                ", belongTo=" + belongTo +
                ", stock=" + stock +
                '}';
    }
}
